package ma.ensao.evalmetrics.model;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
//Mapping de la table ProjetUsers et le bean ProjetUsers
@Entity
@Table(name="ProjetUsers")
public class ProjetUsers implements Serializable {
	
	private static final long serialVersionUID = -8767337896773261247L;
	private Long id;
	private Long idProjet;
	private Long idUser;
	
	@Column (name="idProjet")
	public Long getIdProjet() {
		return idProjet;
	}
	public void setIdProjet(Long idProjet) {
		this.idProjet = idProjet;
	}
	
	@Column (name="idUser")
	public Long getIdUser() {
		return idUser;
	}
	public void setIdUser(Long IdUser) {
		idUser = IdUser;
	}
	@Id
	@GeneratedValue
	@Column (name="id")
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}	
}
	